{% load i18n %}

<div class="text-right mb-4">
  <a href="{% url 'project-notifier' project.id %}" class="btn btn-primary btn-sm">
    {% trans "Register Notifier" %}
  </a>
</div>

<div class="panel panel-default">
  {% include "promgen/notifier_block.html" with object=project show_edit=1 %}
</div>
<div>
  {% if project.service.notifiers.count %}
  <a class="btn btn-default btn-xs" role="button" data-toggle="collapse"
     href="#show-service-senders" aria-expanded="false" aria-controls="collapseExample"
  >
    Show Service Notifiers ({{project.service.notifiers.count}})
  </a>
  {% include "promgen/notifier_block.html" with object=project.service collapse="show-service-senders" %}
  {% endif %}
</div>
